package com.ssy.lingxi.purchase.api.feign;

import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.purchase.api.dto.request.ExamineQuotedPriceBatchRequest;
import com.ssy.lingxi.purchase.api.fallback.PurchaseInquiryFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.Valid;

@FeignClient(value = "purchase-service", fallback = PurchaseInquiryFallback.class)
public interface PurchaseInquiryFeign {



    /**
     *批量执行报价截止时间到期的需求单外部流程-内部接口
     */
    @PostMapping("/purchase/purchase/inquiry/examine/quoted/price/batch")
    Wrapper examineQuotedPriceBatch(@Valid @RequestBody ExamineQuotedPriceBatchRequest request);
}
